{{#board}}
    <div class="cardwall_board {{nifty}}" data-display-avatar="{{is_display_avatar_selected}}">
        {{#mappings}}
            <input type="hidden" id="cardwall_column_mapping_{{column_id}}_{{field_id}}" value="{{value_id}}" />
        {{/mappings}}
        <table width="100%" border="0" bordercolor="#ccc" cellspacing="0" cellpadding="0">
            <colgroup>
                {{#has_swimline_header}}
                    <col width="{{column_width}}%" />
                {{/has_swimline_header}}
                {{#columns}}
                    <col id="cardwall_board_column-{{id}}" width="{{column_width}}%" />
                {{/columns}}
            </colgroup>

            <thead>
                <tr>
                    {{#has_swimline_header}}
                        <th class="cardwall-column-header">{{swimline_title}}</th>
                    {{/has_swimline_header}}
                    {{#columns}}
                        <th class="cardwall-column-header">
                            <div class="cardwall-column-header-color" style="background-color: {{bgcolor}}; color: {{fgcolor}}"></div>
                            <div class="cardwall-column-header-container">
                                {{label}}
                                <div class="cardwall-column-header-controls">
                                    <input type="checkbox"
                                           value="{{autostack_preference}}"
                                           {{autostack}}
                                           title="{{autostack_title}}"
                                           class="cardwall-auto-stack-toggle"/>
                                </div>
                            </div>
                        </th>
                    {{/columns}}
                </tr>
            </thead>

            <tbody class="cardwall">
                {{#swimlines}}
                    <tr valign="top" id="swimline-{{swimline_id}}" data-row-id="{{swimline_id}}">
                        {{#has_swimline_header}}
                            <td class="cardwall-cell cardwall-cell-header">
                                <div class="cardwall-cell-container">
                                    <ul class="nodrag">
                                        {{#is_no_matching_column}}
                                            <li>
                                                <div class="alert-info alert">
                                                    {{{getErrorMessage}}}
                                                </div>
                                            </li>
                                        {{/is_no_matching_column}}
                                        {{^is_no_matching_column}}
                                            <li id="cardwall_board_postit-{{swimline_id}}">
                                                {{> card}}
                                            </li>
                                        {{/is_no_matching_column}}
                                    </ul>
                                </div>
                            </td>
                        {{/has_swimline_header}}
                        {{#cells}}
                            <td class="cardwall-cell {{# column_stacked }}cardwall-cell-stacked{{/ column_stacked }}" data-column-id="{{column_id}}">
                                <div class="cardwall-cell-container">
                                    <ul>
                                        {{#cardincell_presenters}}
                                            <li class="cardwall_board_postit {{getDropIntoClass}} " id="cardwall_board_postit-{{getId}}" data-column-field-id="{{getCardFieldId}}">
                                                {{> card}}
                                            </li>
                                        {{/cardincell_presenters}}
                                    </ul>
                                    &nbsp;
                                    <div class="cardwall-cell-controls">
                                        <i class="cardwall-cell-controls-stack icon-collapse-alt" title="{{stack_cards_title}}"></i>
                                        <i class="cardwall-cell-controls-stack icon-expand-alt" title="{{expand_cards_title}}"></i>
                                    </div>
                                </div>
                            </td>
                        {{/cells}}
                    </tr>
                {{/swimlines}}
            </tbody>
        </table>
    </div>
{{/board}}

